html,
body,
#root {
  height: 100%;
}

@goldColor: #d8a874;

.colorWeak {
  filter: invert(80%);
}

.ant-layout {
  min-height: 100vh;
}

canvas {
  display: block;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.globalSpin {
  width: 100%;
  margin: 40px 0 !important;
}

ul,
ol {
  list-style: none;
}

.container {
  // width: 1200px;
  margin: 0 auto;
  // background: #F0F2F5;
  background: #fff;
}

.ant-menu-dark,
.ant-menu-dark .ant-menu-sub {
  color: rgba(255, 255, 255, 0.65);
  background: rgba(21, 20, 21, 1) !important;
}

.menu {
  background-color: transparent;
  border-bottom: 0 solid #fff !important;
}

// .top-nav-menu li.ant-menu-item {
//   line-height: 64px;
//   height: 64px;
// }

// .ant-menu-item {
//   cursor: pointer;
//   margin: 0;
//   padding: 0 40px !important;
//   position: relative;
//   display: block;
//   white-space: nowrap;
//   transition: color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1),
//     border-color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1),
//     background 0.3s cubic-bezier(0.645, 0.045, 0.355, 1),
//     padding 0.15s cubic-bezier(0.645, 0.045, 0.355, 1);
// }

// .ant-menu-item-selected {
//   // margin: 0 40px;
//   // margin: 0 40px !important;
//   padding: 0 40px !important;
//   color: @goldColor !important;
//   background-color: transparent !important;
// }

// .ant-menu-item-selected a {
//   // font-size: 16px !important;
//   color: @goldColor !important;
//   font-weight: bold;
//   padding: 0 20px;
//   border-bottom: 3px solid @goldColor !important;
//   line-height: 61px;
// }

// .ant-menu-submenu-selected {
//   padding: 0 !important;
//   color: @goldColor !important;
//   background-color: transparent !important;
//   border-bottom: 2px solid @goldColor !important;
// }

.titleLine {
  display: inline-block;
  width: 100%;
  padding: 16px 0 16px 20px;
  font-size: 16px;
  font-weight: bold;
  border-bottom: 1px solid #e6e6e6;
  color: #151415;
}

.kk {
  float: left;
  background: #d8a874;
  margin-top: 3px;
  height: 18px;
  margin-right: 10px;
  width: 5px;
}

.ss {
  // background: #d8a874;
  // height: 18px;
  margin-right: 5px;
  margin-top: 4px;
  height: 6px;
  border-width: 6px;
  border-style: solid;
  border-color: transparent #d8a874 transparent transparent;
  transform: rotate(180deg);
}

.loading {
  width: 100%;
  height: 100%;
}
.fl {
  float: left;
}
.fr {
  float: right;
}
.baseMenu {
  width: 100%;
  line-height: 64px;
  background-color: transparent;

  .ant-menu-item {
    cursor: pointer;
    line-height: 64px;
    margin: 0;
    padding: 0 40px;
    position: relative;
    display: block;
    white-space: nowrap;
    transition: color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1),
      border-color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1),
      background 0.3s cubic-bezier(0.645, 0.045, 0.355, 1),
      padding 0.15s cubic-bezier(0.645, 0.045, 0.355, 1);
  }

  .ant-menu-item-selected {
    // padding: 0 20px;
    color: @goldColor;
    border-bottom: 3px solid @goldColor !important;
    background-color: transparent !important;
  }
  .ant-menu-item-selected a {
    color: @goldColor;
    font-weight: bold;
    // padding: 0 20px;
    // border-bottom: 3px solid @goldColor !important;
    line-height: 61px;
  }
  .ant-menu-submenu-selected {
    padding: 0;
    color: @goldColor;
    background-color: transparent;
    border-bottom: 2px solid @goldColor;
  }
  .top-nav-menu li.ant-menu-item {
    line-height: 64px;
    height: 64px;
  }
}

.gdHeaderRightBox {
  float: right;
  display: inline-flex;

  .ant-menu-horizontal {
    background-color: transparent !important;
    border-bottom: 1px solid transparent !important;
    border: 0;
    box-shadow: none;
    line-height: 46px;
    white-space: nowrap;

    .ant-menu-item {
      cursor: pointer;
      text-align: center;
      margin: 0;
      padding: 0 10px !important;
      border-bottom: none !important;
    }

    .ant-menu-item-active {
      cursor: pointer;
      text-align: center;
      margin: 0;
      padding: 0 10px !important;
      border-bottom: 0 !important;
    }
    .ant-menu-submenu {
      position: relative;
      top: 1px;
      display: inline-block;
      vertical-align: bottom;
      border-bottom: none !important;
    }
    .ant-menu-submenu:hover {
      border-bottom: none;
    }
    .ant-menu-submenu-title {
      cursor: pointer;
      text-align: center;
      margin: 0;
      padding: 0 10px !important;
    }

    .ant-menu-submenu-active {
      cursor: pointer;
      text-align: center;
      margin: 0;
      padding: 0 !important;
    }
  }
}
